package com.zzxy.spring34.service.impl;

import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

@Component

public class UserServiceImpl {
    public UserServiceImpl(){

    }
    public UserServiceImpl(String username){
        this.username = username;
    }
    private String username;

    public String getUsername(){
        return username;
    }

    public void setUsername(String username){
        this.username = username;
    }

    public void addUser(){
    System.out.println("add user success ..."+username);}
}
